package com.yishusmt.mobsmt.constant;

/**
 * redis常量设置
 *
 * @author zhangyi
 * @date 2018/8/8 10:14
 */
public class RedisConstant {

    /**
     *  设置过期时间
     */
    public static final Integer TIME_OUT = 3;

    /**
     * 设置一天短信上限前置标志
     */
    public static final String DAY_TIME_FLAG = "exceed:";

    /**
     * 发送次数
     */
    public static final String SEND_COUNT = "count:";

    /**
     * 发送次数上限
     */
    public static final Integer SEND_COUNT_MAX = 10;

    /**
     * 初始化发送次数
     */
    public static final Integer NOT_EXIST_INTEGER = 0;

    /**
     * 找回验证码
     */
    public static final String FIND_PASSWORD = "find_code::";
}
